package cn.iocoder.yudao.module.dr.controller.admin.publish.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 -  出版申请分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PublishPageReqVO extends PageParam {

    @Schema(description = "书名", example = "李四")
    private String bookName;

    @Schema(description = "编/著")
    private String editor;

    @Schema(description = "出版时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] publishTime;

    @Schema(description = "出版社")
    private String publishingHouse;

    @Schema(description = "出版经费")
    private String funds;

    @Schema(description = "经费来源")
    private String sourceDunding;

    @Schema(description = "负责人")
    private String chargeMan;

    @Schema(description = "负责部室")
    private String chargeManDept;

    @Schema(description = "出版数量")
    private Integer publishNum;

    @Schema(description = "附件")
    private String attachFile;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}